﻿using System.Collections.Generic;
using HelpersDotNet.DomainDrivenDesign.Infrastructure.RepositoryFramework;

namespace HelpersDotNet.DomainDrivenDesign.Infrastructure.Transactions
{
    public static class ClientTransactionService
    {
        private static IClientTransactionRepository _repository =
            ClientTransactionRepositoryFactory.GetTransactionRepository();

        public static IList<ClientTransaction> GetPendingTransactions()
        {
            return _repository.FindPending();
        }


    }
}
